/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}





/*
    DJANGO Admin styles
*/

body {
    font-family: "Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
    color: #333;
    background: #333;
}

/* LINKS */

a:link, a:visited {
    color: #5b80b2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a img {
    border: none;
}

a.section:link, a.section:visited {
    color: white;
    text-decoration: none;
}

/* GLOBAL DEFAULTS */

p, ol, ul, dl {
    margin: .4em 0 .8em 0;
}

p {
    padding: 0;
    line-height: 140%;
}

h1,h2,h3,h4,h5 {
    font-weight: bold;
}

h1 {
    font-size: 1.5em;
    color: #666;
    padding: 0 6px 0 0;
    margin: .6em 0 .2em 0;
}

h2 {
    font-size: 1.1em;
    margin: 1em 0 0.5em 0;
}

h2.subhead {
    font-weight: normal;
    margin-top: 0;
}

h3 {
    font-size: 1.05em;
    margin: .8em 0 .3em 0;
    color: #666;
    font-weight: bold;
}

h4 {
    font-size: 1em;
    margin: 1em 0 .8em 0;
    padding-bottom: 3px;
}

h5 {
    font-size: 0.9em;
    margin: 1.5em 0 .5em 0;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul li {
    list-style-type: square;
    padding: 1px 0;
}

ul.plainlist {
    margin-left: 0 !important;
}

ul.plainlist li {
    list-style-type: none;
}

li ul {
    margin-bottom: 0;
}

li, dt, dd {
    font-size: 1em;
}

dt {
    font-weight: bold;
    margin-top: 4px;
}

dd {
    margin-left: 0;
}

form {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

blockquote {
    font-size: 1em;
    color: #777;
    margin-left: 2px;
    padding-left: 10px;
    border-left: 5px solid #ddd;
}

code, pre {
    font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
    background: inherit;
    color: #666;
    font-size: 1em;
}

pre.literal-block {
    margin: 0.9em;
    background: #eee;
    padding: 6px 8px;
}

code strong {
    color: #930;
}

hr {
    clear: both;
    color: #eee;
    background-color: #eee;
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
}

/* TEXT STYLES & MODIFIERS */

.small {
    font-size: 0.9em;
}

.tiny {
    font-size: 0.8em;
}

p.tiny {
    margin-top: -2px;
}

.mini {
    font-size: 0.7em;
}

p.mini {
    margin-top: -3px;
}

.help, p.help {
    font-size: 0.9em !important;
    color: #999;
}

p img, h1 img, h2 img, h3 img, h4 img, td img {
    vertical-align: middle;
}

.quiet, a.quiet:link, a.quiet:visited {
    color: #999 !important;
    font-weight: normal !important;
}

.quiet strong {
    font-weight: bold !important;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.clear {
    clear: both;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.example {
    margin: 10px 0;
    padding: 5px 10px;
    background: #efefef;
}

.nowrap {
    white-space: nowrap;
}

/* TABLES */

table {
    border-collapse: collapse;
    border-color: #ccc;
}

td, th {
    font-size: 1em;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    padding: 5px;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
}

th {
    text-align: left;
    font-size: 1em;
    font-weight: bold;
}

thead th,
tfoot td {
    color: #666;
    padding: 2px 5px;
    font-size: 1em;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

tfoot td {
    border-bottom: none;
    border-top: 1px solid #ddd;
}

thead th:first-child,
tfoot td:first-child {
    border-left: none !important;
}

thead th.optional {
    font-weight: normal !important;
}

fieldset table {
    border-right: 1px solid #eee;
}

tr.row-label td {
    font-size: 0.9em;
    padding-top: 2px;
    padding-bottom: 0;
    border-bottom: none;
    color: #666;
    margin-top: -1px;
}

tr.alt {
    background: #f6f6f6;
}

.row1 {
    background: #EDF3FE;
}

.row2 {
    background: white;
}

/* SORTABLE TABLES */

thead th a:link, thead th a:visited {
    color: #666;
    display: block;
}

table thead th.sorted {
    background-position: bottom left !important;
}

table thead th.sorted a {
    padding-right: 13px;
}

table thead th.ascending a {
    background: url(../img/admin/arrow-up.gif) right .4em no-repeat;
}

table thead th.descending a {
    background: url(../img/admin/arrow-down.gif) right .4em no-repeat;
}

/* ORDERABLE TABLES */

table.orderable tbody tr td:hover {
    cursor: move;
}

table.orderable tbody tr td:first-child {
    padding-left: 14px;
}

table.orderable-initalized .order-cell, body>tr>td.order-cell {
    display: none;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p {
    margin: 2px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 1em;
}

textarea {
    vertical-align: top !important;
}

input[type=text], input[type=password], textarea, select, .vTextField {
    border: 1px solid #ccc;
}

/* FORM BUTTONS */

.button, input[type=submit], input[type=button], .submit-row input {
    padding: 3px 5px;
    color: black;
    border: 1px solid #bbb;
    border-color: #ddd #aaa #aaa #ddd;
    margin-top: 0.5em;
}

.button:active, input[type=submit]:active, input[type=button]:active {
    
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
	opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
    border: 2px solid #5b80b2;
    background: #7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x;
    font-weight: bold;
    color: white;
    float: right;
}

.button.default:active, input[type=submit].default:active {
    
}

.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
	background-image: url(../img/admin/default-bg.gif);
	background-position: bottom;
	opacity: 0.4;
}


/* MODULES */

.module {
    border: 1px solid #ccc;
    margin-bottom: 5px;
    background: white;
}

.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
    padding-left: 10px;
    padding-right: 10px;
}

.module blockquote {
    margin-left: 12px;
}

.module ul, .module ol {
    margin-left: 1.5em;
}

.module h3 {
    margin-top: .6em;
}

.module h2, .module caption, .inline-group h2 {
    margin: 0;
    padding: 2px 5px 3px 5px;
    font-size: 1em;
    text-align: left;
    font-weight: bold;
    background: #7CA0C7 url(../img/admin/default-bg.gif) top left repeat-x;
    color: white;
}

.module table {
    border-collapse: collapse;
}

/* MESSAGES & ERRORS */

ul.messagelist {
    padding: 0 0 5px 0;
    margin: 0;
}

ul.messagelist li {
    font-size: 1em;
    display: block;
    padding: 4px 5px 4px 25px;
    margin: 0 0 3px 0;
    border-bottom: 1px solid #ddd;
    color: #666;
    background: #ffc url(../img/admin/icon_success.gif) 5px .3em no-repeat;
}

ul.messagelist li.warning{
    background-image: url(../img/admin/icon_alert.gif);
}

ul.messagelist li.error{
    background-image: url(../img/admin/icon_error.gif);
}

.errornote {
    font-size: 1em !important;
    display: block;
    padding: 4px 5px 4px 25px;
    margin: 0 0 3px 0;
    border: 1px solid red;
    color: red;
    background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat;
}

ul.errorlist {
    margin: 0 !important;
    padding: 0 !important;
}

.errorlist li {
    font-size: 1em !important;
    display: block;
    padding: 4px 5px 4px 25px;
    margin: 0 0 3px 0;
    border: 1px solid red;
    color: white;
    background: red url(../img/admin/icon_alert.gif) 5px .3em no-repeat;
}

.errorlist li a {
 	color: white;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0 !important;
    padding: 0 !important;
}

td ul.errorlist li {
    margin: 0 !important;
}

.errors {
    background: #ffc;
}

.errors input, .errors select, .errors textarea {
    border: 1px solid red;
}

div.system-message {
    background: #ffc;
    margin: 10px;
    padding: 6px 8px;
    font-size: 0.8em;
}

div.system-message p.system-message-title {
    padding: 4px 5px 4px 25px;
    margin: 0;
    color: red;
    background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat;
}

.description {
    font-size: 1em;
    padding: 5px 0 0 12px;
}

/* BREADCRUMBS */

div.breadcrumbs {
    padding: 4px 8px 5px 8px;
    margin-bottom: 20px;
    font-size: 1em;
    color: #999;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

/* NAVIGATION BAR */

div#navigationBar {
	font-size: 1.1em;
	padding: 10px;
	padding-left: 0;
}

div#navigationBar a {
	padding: 10px;
	padding-top: 9px;
	padding-bottom: 8px;
	border-right: 1px solid #ccc;
}

div#navigationBar a.admin {
	background: #ffdddd;
}

/* ACTION ICONS */

.addlink {
    padding-left: 12px;
    background: url(../img/admin/icon_addlink.gif) 0 .2em no-repeat;
}

.changelink {
    padding-left: 12px;
    background: url(../img/admin/icon_changelink.gif) 0 .2em no-repeat;
}

.deletelink {
    padding-left: 12px;
    background: url(../img/admin/icon_deletelink.gif) 0 .25em no-repeat;
}

a.deletelink:link, a.deletelink:visited {
    color: #CC3434;
}

a.deletelink:hover {
    color: #993333;
}

/* OBJECT TOOLS */

.object-tools {
    font-size: 0.9em;
    font-weight: bold;
    font-family: Arial,Helvetica,sans-serif;
    padding-left: 0;
    float: right;
    position: relative;
    margin-top: -2.4em;
    margin-bottom: -2em;
}

.form-row .object-tools {
    margin-top: 5px;
    margin-bottom: 5px;
    float: none;
    height: 2em;
    padding-left: 3.5em;
}

.object-tools li {
    display: block;
    float: left;
    background: url(../img/admin/tool-left.gif) 0 0 no-repeat;
    padding: 0 0 0 8px;
    margin-left: 2px;
    height: 16px;
}

.object-tools li:hover {
    background: url(../img/admin/tool-left_over.gif) 0 0 no-repeat;
}

.object-tools a:link, .object-tools a:visited {
    display: block;
    float: left;
    color: white;
    padding: .1em 14px .1em 8px;
    height: 14px;
    background: #999 url(../img/admin/tool-right.gif) 100% 0 no-repeat;
}

.object-tools a:hover, .object-tools li:hover a {
    background: #5b80b2 url(../img/admin/tool-right_over.gif) 100% 0 no-repeat;
}

.object-tools a.viewsitelink, .object-tools a.golink {
    background: #999 url(../img/admin/tooltag-arrowright.gif) top right no-repeat;
    padding-right: 28px;
}

.object-tools a.viewsitelink:hover, .object-tools a.golink:hover {
    background: #5b80b2 url(../img/admin/tooltag-arrowright_over.gif) top right no-repeat;
}

.object-tools a.addlink {
    background: #999 url(../img/admin/tooltag-add.gif) top right no-repeat;
    padding-right: 28px;
}

.object-tools a.addlink:hover {
    background: #5b80b2 url(../img/admin/tooltag-add_over.gif) top right no-repeat;
}

/* OBJECT HISTORY */

table#change-history {
    width: 100%;
}

table#change-history tbody th {
    width: 16em;
}

/* PAGE STRUCTURE */

#container {
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 0;
    background: #fff;
}

#content {
    margin: 10px 15px;
    min-height: 500px;
}

#header {
    width: 100%;
}

#content-main {
    float: left;
    width: 100%;
}

#content-related {
    float: right;
    width: 18em;
    position: relative;
    margin-right: -19em;
}

#footer {
	margin-top: 40px;
    clear: both;
    padding: 10px;
    background: #333;
    color: #ffc;
    font-size: 11px;
}

/* COLUMN TYPES */

.colMS {
    margin-right: 20em !important;
}

.colSM {
    margin-left: 20em !important;
}

.colSM #content-related {
    float: left;
    margin-right: 0;
    margin-left: -19em;
}

.colSM #content-main {
    float: right;
}

.popup .colM {
    width: 95%;
}

.subcol {
    float: left;
    width: 46%;
    margin-right: 15px;
}

.dashboard #content {
    width: 500px;
}

/* HEADER */

a.nameProfileLink {
	font-weight: bold;
}

#header {
    background: #333;
    color: #ffc;
    overflow: hidden;
    margin-top: 40px;
}

#header h1 a:link, #header h1 a:visited {
    color: #f4f379;
    text-decoration: none;
}

#header a:link, #header a:visited {
	color: white;
}

#header a:hover {
    text-decoration: underline;
}

#branding h1 {
    padding: 0 10px;
    font-size: 1.9em;
    margin: 0;
    padding-top: 4px;
    margin-bottom: 8px;
    font-weight: normal;
    color: #f4f379;
}

#branding h2 {
    padding: 0 10px;
    font-size: 1em;
    margin: -8px 0 8px 0;
    font-weight: normal;
    color: #ffc;
}

#user-tools {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.2em 10px;
    font-size: 0.8em;
    text-align: right;
    margin-right: 10px;
}

/* SIDEBAR */

#content-related h3 {
    font-size: 1em;
    color: #666;
    margin-bottom: 3px;
}

#content-related h4 {
    font-size: 0.9em;
}

#content-related .module h2 {
    color: #666;
}



/* CHECKIN */

div.checkinNav {
	height: 50px;
	padding-top: 10px;
}

div.checkinNav a {
	margin: 5px;
	margin-right: 10px;
	background-color: rgb(230, 230, 230);
	font-size: 1.2em;
	padding: 10px;
	color: black;
	text-decoration: none;
}

div.checkinNav a:hover {
	background-color: rgb(200, 200, 150);
}

div.checkinNav a.selected {
	background-color: rgb(200, 200, 150);
}

div.checkinNav a:hover {
	color: black;
}

form.checkin {
	margin: 0;
	padding: 10px;
	padding-bottom: 20px;
	font-size: 1.05em;
}

form.checkin input[type=text] {
	height: 25px;
	width: 250px;
	color: rgb(100, 150, 100);
	font-size: 1.2em;
}

form.checkin select {
	font-size: 1.2em;
}

form.checkin input {
	margin-bottom: 20px;
}

input.checkinSubmit {
	width: 100px;
	height: 30px;
	margin-left: 0px;
	font-size: 1.05em;
}

#nameResults {
	border: 1px solid #666;
	border-bottom: 0px;
	font-size: 1.1em;
	font-family: Helvetica, sans-serif;
	padding: 0px;
	display: none;
	cursor: pointer;
}

#nameResults div {
    border-bottom: 1px solid #666;
    padding: 5px;
}

#nameResults .selected {
	background-color: #666;
	color: #fff;
}

#nameResults .unselected {
	background-color: #fff;
	color: #666;
}

div.recentCheckins {
	float: right;
	padding: 10px;
	width: 595px;
}

div.recentCheckins th {
	font-size: 0.9em;
}

div.recentCheckins td {
	font-size: 0.9em;
	line-height: normal;
}

div.recentCheckins h2 {
	margin-top: 0;
}



/* ANALYTICS */

div.currentUsage {
	background-color: #fff;
	border: 2px solid #666;
	border-bottom: 1px solid #bbb;
	width: 225px;
	height: 54px;
	float: right;
	margin-top: 0;
	margin-right: 15px;
	padding: 0;
	padding-top: 2px;
	color: black;
}

div.currentUsage table {
	margin-top: 3px;
	width: 100%;
}

div.currentUsage table td {
	border: 0;
	vertical-align: middle;
}

div.currentUsage td.usageName {
	font-weight: bold;
	font-size: 18px;
	line-height: 1.0;
	text-align: center;
	color: green;
}

div.currentUsage td.usageNumber {
	font-size: 34px;
}

div.currentUsage td.usageText {
	padding-top: 3px;
	font-size: 16px;
	text-align: center;
	line-height: 1.1;
}

div.usageMap {
	margin-left: 7px;
}

div.usageMap canvas {
	
}

table.dataTable {
	width: 600px;
	margin-left: 20px;
	margin-bottom: 20px;
	margin-top: 20px;
	font-size: 0.8em;
	display: none;
}

table.dataTable th {
	padding: 4px;
}

div.visualize {
	margin-top: 20px;
	margin-left: 30px;
	font-size: 0.8em;
}

div.datepicker {
	text-align: center;
	margin-right: 10px;
	font-size: 0.8em;
}

span.datepickerHeader {
	font-size: 1.1em;
	line-height: 2;
}

#datepickerFrom {
	float: right;
	margin-bottom: 20px;
	margin-top: -70px;
}

#datepickerTo {
	float: right;
	clear: right;
}

div.analyticsExport {
	margin-top: 40px;
	margin-left: 20px;
}



/* DASHBOARD */

li.dashboardFunction {
	font-size: 1.1em;
	line-height: 1.5;
	list-style: none;
}

div.dashboardLeft {
	margin-bottom: 10px;
	width: 610px;
}

div.dashboardLeft table.dataTable {
	width: 580px;
}

div.dashboardRight {
	float: right;
	width: 300px;
	font-size: 0.9em;
	margin-right: 0;
	margin-top: -20px;
	margin-right: -15px;
	padding-left: 15px;
	padding-bottom: 15px;
	padding-right: 20px;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

form.dashboardLogin {
	margin-bottom: 10px;
}

ul.dashboardNotifications {
	margin: 0;
}

ul.dashboardNotifications li {
	font-size: 1.1em;
	line-height: 1.2;
	list-style: none;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin-bottom: -1px;
	margin-left: -15px;
	margin-right: -20px;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	color: green;
}

ul.dashboardNotifications li.recentActivity {
	color: black;
}

li.recentActivity span.recentActivity {
	color: green;
}

li.recentActivity span.timestamp {
	color: #444;
	font-size: 0.8em;
}


/* USERPROFILE */

div.profileEdit {
	border: 1px solid #22aa22;
	padding: 5px;
	padding-left: 10px;
	margin-bottom: 20px;
	width: 700px;
}

div.profileEdit p {
	margin-bottom: 0;
	margin-top: 0;
	margin-left: 30px;
}

ul.profileList {
	margin-top: 0;
	padding-top: 0;
}

ul.profileList li {
	list-style: none;
	line-height: 140%;
}

table.profileTable {
	width: 700px;
}


/* SOCIAL */

table.socialSearch tbody tr:hover {
	background: #eee;
	cursor: pointer;
}

table.socialSearch tbody tr.selected {
	background: #eee;
	cursor: default;
}

table.socialSearch td {
	line-height: 200%;
}

table.socialSearch td.similarityScore {
	font-size: 1.5em;
	line-height: 1;
	padding-top: 0.4em;
}

div#socialResult {
	float: right;
	margin-right: 10px;
}



/* COLORS */

.red {
	color: rgb(255, 100, 100);
}

.blue {
	color: rgb(100, 100, 255);
}

.green {
	color: rgb(100, 255, 100);
}

.bold {
	font-weight: bold;
}


/* FLOATS */

.left {
	float: left;
}

.right {
	float: right;
}

/* Profile image stuff */

img.profile {
    float: left;
    margin: 15px;
	max-width:350px;
	max-height: 400px;
}